/*
 * settings.h
 *
 *  Created on: Sep 24, 2013
 *      Author: cinus
 */

#ifndef SETTINGS_H_
#define SETTINGS_H_

#include <stdbool.h>

#include "types.h"

struct settings {
	float32 eta;
	float32 alpha;
	float32 etaPlus;
	float32 etaMinus;
	int32 onlineTraining;
	uint32 maxEpochsFromMinimum;
	uint32 maxEpochs;
	int8* topologyFileName;
	int8* algorithm;
	uint32 seed;
};

typedef struct settings settings_t;
typedef settings_t* settings_tp;

void loadSettings(settings_tp params, const int8* filename);
void reserveSpaceForSettings(settings_tp src, settings_tp dst);
void copySettings(settings_tp src, settings_tp dst);
#endif /* SETTINGS_H_ */
